﻿
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace LauncherUpdate
{
	class Program
	{
		[STAThread]
		static void Main(string[] args)
		{
			// MessageBox.Show("参数：" + args[0]);
			if (args.Length == 0)
			{
				return;
			}
			else
			{
				MainWindow window = new MainWindow(args[0]);
				// MainWindow window = new MainWindow("https://package.jinzhangshu.com/SecondTest/IntoTheVoidSetup_1.0.1.6.exe");
				var app = new App();
				app.Run(window);
			}
		}
	}
}
